package com.zhangliuliu.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

@TableName("area")
public class AreaBean {
    /**
     * 区域实体
     */
    @TableId(value = "pk_areaId",type = IdType.AUTO)
    private Integer areaId;
    @TableField("area_name")
    private String areaName;
    //树种
    @TableField("tree_kind")
    private String treeKind;
    //优势树种
    @TableField("good_tree")
    private String goodTree;
    @TableField("landType")
    //地类
    private String landType;
    //包含的小班
    @TableField("groupName")
    private String groupName;
    public AreaBean() {
    }

    public AreaBean(String areaName, String treeKind, String goodTree, String landType) {
        this.areaName = areaName;
        this.treeKind = treeKind;
        this.goodTree = goodTree;
        this.landType = landType;

    }

    public Integer getAreaId() {
        return areaId;
    }

    public void setAreaId(Integer areaId) {
        this.areaId = areaId;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public String getTreeKind() {
        return treeKind;
    }

    public void setTreeKind(String treeKind) {
        this.treeKind = treeKind;
    }

    public String getGoodTree() {
        return goodTree;
    }

    public void setGoodTree(String goodTree) {
        this.goodTree = goodTree;
    }

    public String getLandType() {
        return landType;
    }

    public void setLandType(String landType) {
        this.landType = landType;
    }

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    @Override
    public String toString() {
        return "AreaBean{" +
                "areaId=" + areaId +
                ", areaName='" + areaName + '\'' +
                ", treeKind='" + treeKind + '\'' +
                ", goodTree='" + goodTree + '\'' +
                ", landType='" + landType + '\'' +
                ", groupName='" + groupName + '\'' +
                '}';
    }
}

